

# def calcSum(beg, end):
#     sums = 0
#     for i in range(beg, end + 1):
#         sums += i
#         print(sums)
#
#
# calcSum(1, 100)


# def calcSum(beg, end):
#     sums = 0
#     for i in range(beg, end + 1):
#         sums += i
#     return sums
#
#
# result = calcSum(1, 100)
# print(result)


